<?php
/**
 * 首页
 * @file 	IndexControl.class.php
 * @author 	itkele@gmail.com
 * @date 	2013-01-10
 * modify       
 */
class IndexControl extends Control{
	
	public function __construct(){
		parent::__construct();
	}
	
	public function index(){
		$menuModel = M('Menu');
		$menuList = $menuModel->menuList();
		
	
		$this->assign('title','test');
		$this->assign('menuList',$menuList);
		$this->display("index");
	}
	
}
?>